package ar.com.temporis.framework.persistence;

import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

import ar.com.temporis.framework.domain.Entity;
import ar.com.temporis.framework.repository.Persistor;


/**
 * 
 * @author matias.sulik
 * 
 */
public class PersistenceServiceImpl extends HibernateDaoSupport implements
		Persistor {

	public void delete(Entity entity) {
		this.getHibernateTemplate().delete(entity);
	}

	public void save(Entity entity) {
		this.getHibernateTemplate().save(entity);
	}

	public void update(Entity entity) {
		this.getHibernateTemplate().update(entity);
	}

}
